# Header-only library
kmpkg_from_gitee(
    OUT_SOURCE_PATH SOURCE_PATH
    REPO kumo-pub/debugbreak
    REF v1.0
    SHA512 f12578adc657a67325af02e9f0017271db3a44b70d569f91a52a7a38127efcb4e515498e5266841d29b6a00c3911ac1e495f1e19b74ca004b56ed14bc4c2f292
    HEAD_REF master
)

file(
    COPY "${SOURCE_PATH}/debugbreak.h"
    DESTINATION "${CURRENT_PACKAGES_DIR}/include"
)

# Handle copyright
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
